package com.yxb.category.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yxb.common.annotation.Excel;
import com.yxb.common.core.domain.BaseEntity;

/**
 * 家教分类对象 category
 * 
 * @author 林德炫
 * @date 2025-03-29
 */
public class Category extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 家教分类唯一标识 */
    private Long categoryId;

    /** 家教分类名称 */
    @Excel(name = "家教分类名称")
    private String categoryName;

    /** 分类小类 */
    @Excel(name = "分类小类")
    private String subCategory;

    /** 分类图标 */
    @Excel(name = "分类图标")
    private String icon;

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setSubCategory(String subCategory) 
    {
        this.subCategory = subCategory;
    }

    public String getSubCategory() 
    {
        return subCategory;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryId", getCategoryId())
            .append("categoryName", getCategoryName())
            .append("subCategory", getSubCategory())
            .append("createTime", getCreateTime())
            .append("icon", getIcon())
            .toString();
    }
}
